<template>
  <div>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page.sync="fenyexinxi.currentPage"
      :page-sizes="[8, 20, 50, 500]"
      :page-size.sync="fenyexinxi.pagesize"
      layout="total, sizes, prev, pager, next, jumper"
      :total.sync="fenyexinxi.total"
    >
    </el-pagination>
  </div>
</template>


<script>
export default {
  props: ["fenyexinxi"],
  data() {
    return {};
  },
  methods: {
    handleSizeChange() {
      this.$emit("fenyegaibian");
    },
    handleCurrentChange() {
      this.$emit("fenyegaibian");
    },
  },
  watch: {},
  mounted() {},
};
</script>

<style lang="less" scoped>
</style>